inherited FMovimentoSaldoNF: TFMovimentoSaldoNF
  Left = 277
  Top = 184
  Caption = 'Movimento Saldo'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited pcCadastro: TPageControl
    inherited TsPesquisa: TTabSheet
      inherited dbgPesquisaPadra: TDBGrid
        Columns = <
          item
            Expanded = False
            FieldName = 'MOVNF_CODIGO'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_LOCAL_DESC'
            Title.Caption = 'Local'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_NFNUMERO'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_NFSERIE'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_PRODUTO'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_PRODUTO_DESC'
            Title.Caption = 'Descri'#231#227'o'
            Width = 285
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_NFNUMERO_ORIGEM'
            Title.Alignment = taCenter
            Title.Caption = 'NF Origem'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_NFSERIE_ORIGEM'
            Title.Alignment = taCenter
            Title.Caption = 'S.Origem'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_MOV_NATUREZA'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_DATAMOV'
            Title.Alignment = taCenter
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'MOVNF_QTD'
            Title.Alignment = taCenter
            Title.Caption = 'Quantidade'
            Visible = True
          end
          item
            Alignment = taCenter
            Expanded = False
            FieldName = 'MOVNF_CFOP_ORIGEM'
            Title.Alignment = taCenter
            Visible = True
          end>
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        object Label14: TLabel [0]
          Left = 7
          Top = 51
          Width = 40
          Height = 16
          Caption = 'C'#243'digo'
        end
        object Label3: TLabel [1]
          Left = 69
          Top = 51
          Width = 104
          Height = 16
          Caption = 'Empresa - Cliente'
        end
        object Label9: TLabel [2]
          Left = 362
          Top = 170
          Width = 58
          Height = 16
          Caption = 'Data Mov.'
        end
        object Label10: TLabel [3]
          Left = 477
          Top = 169
          Width = 66
          Height = 16
          Caption = 'Quantidade'
        end
        object Label11: TLabel [4]
          Left = 661
          Top = 169
          Width = 42
          Height = 16
          Caption = 'Origem'
        end
        object Label12: TLabel [5]
          Left = 362
          Top = 207
          Width = 51
          Height = 16
          Caption = 'Hist'#243'rico'
        end
        object Label13: TLabel [6]
          Left = 551
          Top = 169
          Width = 78
          Height = 16
          Caption = 'Valor Unit'#225'rio'
        end
        inherited panel2: TPanel
          TabOrder = 9
          inherited DBNavigator1: TDBNavigator
            Hints.Strings = ()
          end
        end
        inherited panel3: TPanel
          TabOrder = 10
        end
        object edCodigo: TDBEdit
          Left = 8
          Top = 65
          Width = 47
          Height = 22
          TabStop = False
          Ctl3D = False
          DataField = 'MOVNF_CODIGO'
          DataSource = dsCadastro
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 11
        end
        object DBLCBLocal: TDBLookupComboBox
          Left = 69
          Top = 65
          Width = 276
          Height = 22
          Ctl3D = False
          DataField = 'MOVNF_LOCAL'
          DataSource = dsCadastro
          KeyField = 'LOC_CODIGO'
          ListField = 'LOC_DESCRICAO'
          ListSource = DSLocal
          ParentCtl3D = False
          TabOrder = 0
          OnExit = DBLCBLocalExit
        end
        object GBDadosNota: TGroupBox
          Left = 8
          Top = 92
          Width = 817
          Height = 73
          Caption = '  Nota Fiscal de Remessa   '
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 1
          object Label7: TLabel
            Left = 9
            Top = 17
            Width = 45
            Height = 16
            Caption = 'N'#250'mero'
          end
          object Label8: TLabel
            Left = 81
            Top = 17
            Width = 34
            Height = 16
            Caption = 'S'#233'rie '
            FocusControl = DBEdit2
          end
          object Label66: TLabel
            Left = 142
            Top = 17
            Width = 63
            Height = 16
            Caption = 'C'#243'digo(F8)'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
          end
          object Label1: TLabel
            Left = 211
            Top = 17
            Width = 88
            Height = 16
            Caption = 'Ref.Fornecedor'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
          end
          object Label2: TLabel
            Left = 332
            Top = 17
            Width = 85
            Height = 16
            Caption = 'Descri'#231#227'o (F8)'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
          end
          object DBEdit2: TDBEdit
            Left = 81
            Top = 32
            Width = 30
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_NFSERIE'
            DataSource = dsCadastro
            TabOrder = 1
          end
          object DBEdit1: TDBEdit
            Left = 9
            Top = 32
            Width = 66
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_NFNUMERO'
            DataSource = dsCadastro
            TabOrder = 0
          end
          object EdRefProdutoMercadoria: TEdit
            Left = 139
            Top = 32
            Width = 68
            Height = 22
            Ctl3D = False
            ParentCtl3D = False
            TabOrder = 3
            OnExit = EdRefProdutoMercadoriaExit
          end
          object DBLCBProduto: TDBLookupComboBox
            Left = 332
            Top = 32
            Width = 452
            Height = 22
            Ctl3D = False
            DataField = 'MOVNF_PRODUTO'
            DataSource = dsCadastro
            KeyField = 'PROD_REFERENCIA'
            ListField = 'PROD_DESCRICAOENT'
            ListSource = DSProduto
            ParentCtl3D = False
            TabOrder = 4
            OnExit = DBLCBProdutoExit
            OnKeyDown = DBLCBProdutoKeyDown
          end
          object DBEdit3: TDBEdit
            Left = 212
            Top = 32
            Width = 112
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_PRODUTO'
            DataSource = dsCadastro
            TabOrder = 2
            OnExit = DBEdit3Exit
            OnKeyDown = DBEdit3KeyDown
          end
        end
        object GroupBox1: TGroupBox
          Left = 9
          Top = 170
          Width = 241
          Height = 73
          Caption = '  Nota Fiscal de Origem do Movimento  '
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 2
          object Label4: TLabel
            Left = 11
            Top = 21
            Width = 45
            Height = 16
            Caption = 'N'#250'mero'
          end
          object Label5: TLabel
            Left = 83
            Top = 21
            Width = 34
            Height = 16
            Caption = 'S'#233'rie '
            FocusControl = DBEdit4
          end
          object Label6: TLabel
            Left = 184
            Top = 20
            Width = 36
            Height = 16
            Caption = 'CFOP'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -13
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
          end
          object DBEdit4: TDBEdit
            Left = 83
            Top = 36
            Width = 30
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_NFSERIE_ORIGEM'
            DataSource = dsCadastro
            TabOrder = 1
          end
          object DBEdit5: TDBEdit
            Left = 11
            Top = 36
            Width = 66
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_NFNUMERO_ORIGEM'
            DataSource = dsCadastro
            TabOrder = 0
          end
          object DBEdit6: TDBEdit
            Left = 183
            Top = 35
            Width = 49
            Height = 22
            Color = clWhite
            DataField = 'MOVNF_CFOP_ORIGEM'
            DataSource = dsCadastro
            TabOrder = 2
            OnExit = DBEdit3Exit
            OnKeyDown = DBEdit3KeyDown
          end
        end
        object DBRGSituacao: TDBRadioGroup
          Left = 255
          Top = 170
          Width = 90
          Height = 73
          Caption = '  Natureza  '
          Color = clBtnFace
          Ctl3D = False
          DataField = 'MOVNF_MOV_NATUREZA'
          DataSource = dsCadastro
          Enabled = False
          Items.Strings = (
            'Entrada'
            'Saida')
          ParentColor = False
          ParentCtl3D = False
          TabOrder = 3
          TabStop = True
          Values.Strings = (
            'E'
            'S')
        end
        object DBEdit7: TDBEdit
          Left = 478
          Top = 183
          Width = 67
          Height = 22
          Color = clWhite
          Ctl3D = False
          DataField = 'MOVNF_QTD'
          DataSource = dsCadastro
          ParentCtl3D = False
          TabOrder = 5
          OnExit = DBEdit3Exit
          OnKeyDown = DBEdit3KeyDown
        end
        object Edit1: TEdit
          Left = 661
          Top = 183
          Width = 131
          Height = 22
          TabStop = False
          Ctl3D = False
          ParentCtl3D = False
          ReadOnly = True
          TabOrder = 8
          OnExit = EdRefProdutoMercadoriaExit
        end
        object DBEdit8: TDBEdit
          Left = 362
          Top = 221
          Width = 431
          Height = 22
          Color = clWhite
          Ctl3D = False
          DataField = 'MOVNF_HISTORICO'
          DataSource = dsCadastro
          ParentCtl3D = False
          TabOrder = 7
          OnExit = DBEdit3Exit
          OnKeyDown = DBEdit3KeyDown
        end
        object DBDateEdit4: TDBDateEdit
          Left = 362
          Top = 184
          Width = 108
          Height = 22
          DataField = 'MOVNF_DATAMOV'
          DataSource = dsCadastro
          Ctl3D = False
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Arial'
          Font.Style = []
          ButtonWidth = 26
          NumGlyphs = 2
          ParentCtl3D = False
          ParentFont = False
          TabOrder = 4
        end
        object DBEdit9: TDBEdit
          Left = 549
          Top = 183
          Width = 109
          Height = 22
          Color = clWhite
          Ctl3D = False
          DataField = 'MOVNF_VALORUNITARIO'
          DataSource = dsCadastro
          ParentCtl3D = False
          TabOrder = 6
          OnExit = DBEdit3Exit
          OnKeyDown = DBEdit3KeyDown
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    Left = 672
    Top = 304
  end
  inherited dsCadastro: TDataSource
    Left = 512
    Top = 360
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'SELECT * FROM MOVIMENTO_NF_ITEM')
    Left = 344
    Top = 376
  end
  inherited dspCadastro: TDataSetProvider
    Left = 176
    Top = 392
  end
  inherited cdsCadastro: TClientDataSet
    Active = True
    Left = 392
    Top = 328
    object cdsCadastroMOVNF_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'MOVNF_CODIGO'
    end
    object cdsCadastroMOVNF_LOCAL: TIntegerField
      DisplayLabel = 'Empresa-Cliente'
      FieldName = 'MOVNF_LOCAL'
    end
    object cdsCadastroMOVNF_LOCAL_DESC: TStringField
      DisplayLabel = 'Empresa - Cliente'
      FieldName = 'MOVNF_LOCAL_DESC'
    end
    object cdsCadastroMOVNF_NFNUMERO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'N'#186' NF'
      FieldName = 'MOVNF_NFNUMERO'
    end
    object cdsCadastroMOVNF_NFSERIE: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'S'#233'rie'
      FieldName = 'MOVNF_NFSERIE'
    end
    object cdsCadastroMOVNF_NFCODIGO: TIntegerField
      Alignment = taLeftJustify
      FieldName = 'MOVNF_NFCODIGO'
    end
    object cdsCadastroMOVNF_PRODUTO: TStringField
      Alignment = taCenter
      DisplayLabel = 'Cod. Produto'
      FieldName = 'MOVNF_PRODUTO'
      Size = 15
    end
    object cdsCadastroMOVNF_PRODUTO_DESC: TStringField
      DisplayLabel = 'Produto Desc'
      FieldName = 'MOVNF_PRODUTO_DESC'
      Size = 100
    end
    object cdsCadastroMOVNF_NFNUMERO_ORIGEM: TStringField
      Alignment = taCenter
      DisplayLabel = 'N'#186' NF Origem'
      FieldName = 'MOVNF_NFNUMERO_ORIGEM'
      Size = 10
    end
    object cdsCadastroMOVNF_NFSERIE_ORIGEM: TStringField
      Alignment = taCenter
      DisplayLabel = 'S'#233'rie Origem'
      FieldName = 'MOVNF_NFSERIE_ORIGEM'
      Size = 10
    end
    object cdsCadastroMOVNF_NFCODIGO_ORIGEM: TIntegerField
      FieldName = 'MOVNF_NFCODIGO_ORIGEM'
    end
    object cdsCadastroMOVNF_MOV_NATUREZA: TStringField
      DisplayLabel = 'Natureza'
      FieldName = 'MOVNF_MOV_NATUREZA'
      Size = 1
    end
    object cdsCadastroMOVNF_QTD: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'QTD.'
      FieldName = 'MOVNF_QTD'
    end
    object cdsCadastroMOVNF_DATAMOV: TDateTimeField
      DisplayLabel = 'Data Mov.'
      FieldName = 'MOVNF_DATAMOV'
    end
    object cdsCadastroMOVNF_HISTORICO: TStringField
      DisplayLabel = 'Historico'
      FieldName = 'MOVNF_HISTORICO'
      Size = 50
    end
    object cdsCadastroMOVNF_ORIGEM: TStringField
      FieldName = 'MOVNF_ORIGEM'
      Size = 1
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Size = 1
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      Size = 1
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsCadastroMOVNF_CFOP_ORIGEM: TStringField
      DisplayLabel = 'CFOP'
      FieldName = 'MOVNF_CFOP_ORIGEM'
      Size = 5
    end
    object cdsCadastroMOVNF_VALORUNITARIO: TFloatField
      FieldName = 'MOVNF_VALORUNITARIO'
    end
  end
  inherited dsCamposPesquisa: TDataSource
    Left = 656
    Top = 376
  end
  inherited OpenDialog1: TOpenDialog
    Left = 80
    Top = 400
  end
  object DSLocal: TDataSource
    DataSet = QLocal
    Left = 520
    Top = 72
  end
  object QLocal: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM LOCAL'
      'WHERE (EXCLUIDO IS NULL)OR (EXCLUIDO = '#39'N'#39')')
    Left = 560
    Top = 64
  end
  object DSProduto: TDataSource
    DataSet = DMGestao.QProdutoEnt
    Left = 728
    Top = 144
  end
  object QNfEntrada: TQuery
    BeforeInsert = QCadastroBeforeInsert
    BeforeEdit = QCadastroBeforeEdit
    BeforePost = QCadastroBeforePost
    BeforeCancel = QCadastroBeforeCancel
    BeforeDelete = QCadastroBeforeDelete
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM MOVIMENTO_NF_ITEM')
    Left = 240
    Top = 320
  end
end
